﻿@model TCMS.Models.TaskEntity
@{
    ViewBag.Title = "Status";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section inlinestyle {
.toolbar { background: #ccc; padding-top: 4px; } 
.toolbar label { line-height: 30px; float: right; } 
form.cmxform label.error { text-align: left; color: red; font-style: italic; font-size: 12px; } 
form.cmxform label { text-align: right; }
}
<div class="row toolbar">
    <div class="span4">
        <h4>工房：@ViewBag.ShopName</h4>
    </div>
</div>
@if (Object.Equals(Model, null))
{
    <div>
        该工房当前没有任务！</div>
}
@if (!Object.Equals(Model, null))
{
    <div class="row span12">
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.Name)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.Name)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.ShopName)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.ShopName)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.ProductName)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.ProductName)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.StatusName)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.StatusName)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.Batch)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.Batch)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.StartTime)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.StartTime)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.EndTime)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.EndTime)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.DangerousProducts)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.DangerousProducts)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.DangerousProcedure)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.DangerousProcedure)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.InPopulating)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.InPopulating)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.Department)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.Department)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.Team)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.Team)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.TeamLeader)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.TeamLeader)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.TeamSafety)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.TeamSafety)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.DepartmentSafety)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.DepartmentSafety)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.TeamTel)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.TeamTel)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.CreateBy)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.CreateBy)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.CreatedTime)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.CreatedTime)
            </div>
        </div>
        <div class="row">
            <div class="span4">
                @Html.DisplayNameFor(model => model.Remark)
            </div>
            <div class="span8">
                @Html.DisplayFor(model => model.Remark)
            </div>
        </div>
    </div>
}
@section links {
    <link rel="stylesheet" href="~/Content/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" href="~/Content/font-awesome/css/font-awesome.css" />
}
